﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Grishko.DataTier.SqlSentence;
using Test;
using OutdoorLib.BaseEntity.Face;
using OutdoorLib.SqlLibrary;

/// <summary>
/// Список сотрудников
/// </summary>
namespace OutdoorLib.BaseEntity.Face 
{

    //public class EmployeeList : ObjectWhere_EntityList  
    //{
    //    public class MyListWhere : ListWhere
    //    {
    //        public override AddSrchObjects EntityTypeInfo
    //        {
    //            get
    //            {
    //                AddSrchObjects result = new AddSrchObjects();
    //                result.EntityType = typeof(Employeer);
    //                result.SqlFunction = "GetEmployeeObjectPropertyStorage()";
    //                result.PropertyCollection.Add("Department", typeof(OutdoorLib.BaseEntity.Agency.Department));
    //                result.BanProperties = new string[] { "Employees" };
    //                return result;
    //            }
    //        }
    //        public override ObjectWhere_EntityList GetListInstance()
    //        {
                
    //                return new EmployeeList();
                
    //        }
    //    }
    //    public EmployeeList()
    //    {
    //        _ListWhere = new EmployeeList.MyListWhere();
    //    }
    //}


}
